(function(angular){

//创建子模块
var app=angular.module('home',['ngRoute']);	

//配置路由规则
app.config(['$routeProvider',function($routeProvider){
	$routeProvider.when('/home_page',{
		templateUrl:'./home_page/view.html',
		controller:'homeController'
	});	
}]);


//创建控制器
app.controller('homeController',['$scope',function($scope){
	
	
	}
]);

})(angular)